package com.fj.netty.rpc.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author fj
 * @date 2024/1/17 15:03
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class RpcRequestMessage extends Message {
    private String interfaceName;
    private String methodName;
    private Class<?> returnType;
    private Class<?>[] paramTypes;
    private Object[] paramObjects;

    @Override
    public byte getMessageType() {
        return RPC_REQUEST_MESSAGE;
    }
}
